package pojo;

public class Course {
    private String id;
    private String name;
    private String title;
    private String difficulty;
    private int time;
    private int price;
    private String text;
    private String imagepath;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getImagepath() {
        return imagepath;
    }

    public void setImagepath(String imagepath) {
        this.imagepath = imagepath;
    }

    public Course(String id, String name, String title, String difficulty, int time, int price, String text, String imagepath) {
        this.id = id;
        this.name = name;
        this.title = title;
        this.difficulty = difficulty;
        this.time = time;
        this.price = price;
        this.text = text;
        this.imagepath = imagepath;
    }

    public Course(int id, String name, int price, String imagepath) {
        this.id = String.valueOf(id);
        this.name = name;
        this.price = price;
        this.imagepath = imagepath;
    }

    public Course() {}
}
